package spider.pojo;

public class StreamingMetricData {
	/**
	 * 实时数据：{
	"tid"	:	//租户ID
	"did"	:	//设备ID
	"ts"	:   测点时间戳
	"data"	:[
		{
		"k"		:	metric1
		"v"   	:	value1
		"ts"	:   测点时间戳(可能为空)
		"dn"	:   测点DN
		},
		{
		"k"		:	metric2
		"v"   	:	value2
		"ts"	:   测点时间戳(可能为空)
		"dn"	:   测点DN
		}
	]
}
	 */
	private String k;
	private Object v;
	private String dn;
	private long ts;
	public String getK() {
		return k;
	}
	public void setK(String k) {
		this.k = k;
	}
	public Object getV() {
		return v;
	}
	public void setV(Object v) {
		this.v = v;
	}
	public long getTs() {
		return ts;
	}
	public void setTs(long ts) {
		this.ts = ts;
	}
	
	public String getDn() {
		return dn;
	}
	public void setDn(String dn) {
		this.dn = dn;
	}
	@Override
	public String toString() {
		return "StreamingMetricData [k=" + k + ", v=" + v + ", dn=" + dn + ", ts=" + ts + "]";
	}
	

}
